///@file Triangle.h
///@brief Declaration of the class representing a triangle
///@author Arnaud Duval
///@version 0.0
///@date 2010/03/31


#ifndef TRIANGLE_H
#define TRIANGLE_H


#include "Point.h"

///@class Triangle
///@brief Class defining a Triangle
class Triangle
{
	private:
		///@brief Point A
		Point A;
		///@brief Point B
		Point B;
		///@brief Point C
		Point C;
	public:
		///@brief Default constructor
		Triangle();
		///@brief Constructor with 3 given points
		Triangle(Point, Point, Point);
		///@brief Destructor
		~Triangle();
		///@brief Return Area
		double Area();
		///@brief Return centroid
		Point Centroid();
		///@brief Return quadratic moment about axis x from Point O
		double Ixx_O();
		///@brief Return quadratic moment about axis y from Point O
		double Iyy_O();
		///@brief Return product of inertia Ixy from point O
		double Ixy_O();
};

#endif

